<html>
	<head>
		<style type="text/css">

		body {
			margin:0 0 0 0;
			min-height:500px;
		}


		body > #wrap { min-height: 100%;}

		 

		#footer {
				position:relative;
				height: 150px;
				margin-top: -150px;
		}

		</style>
	</head>
	
	<body>
		<div id="wrap"></div>
		<div id="footer" style="background:black"></div>
	</body>
	
</html>